package com.xhl.consul.tool;

import com.xhl.consul.tool.opentracing.OpentracingTest;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

/**
 * @Author CazCen
 * @Date 2021/11/25 13:39
 */
@RunWith(SpringRunner.class)
@SpringBootTest
@Slf4j
public class Opentracing {



    @Test
    public void test01(){
        String traceId = OpentracingTest.getTraceId();
        log.info("traceId:",traceId);
    }

}
